home *** CD-ROM | disk | FTP | other *** search
/ Languguage OS 2 / Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO / gnu / gas_251.zip / bin_251 / bfd / hosts / i386sco.h < prev    next >
C/C++ Source or Header  |  1993-11-12  |  790b  |  22 lines

  1. #include "hosts/i386v.h"
  2.  
  3. /* Core file stuff.  At least some, perhaps all, of the following
  4.    defines work on many more systems than just SCO.  */
  5.  
  6. #define NBPG NBPC
  7. #define UPAGES USIZE
  8. #define HOST_DATA_START_ADDR u.u_exdata.ux_datorg
  9. #define HOST_STACK_START_ADDR u.u_sub
  10. #define TRAD_UNIX_CORE_FILE_FAILING_SIGNAL(abfd) \
  11.   ((core_upage(abfd)->u_sysabort != 0) \
  12.    ? core_upage(abfd)->u_sysabort \
  13.    : -1)
  14.  
  15. /* According to the manpage, a version 2 SCO corefile can contain
  16.    various additional sections (it is cleverly arranged so the u area,
  17.    data, and stack are first where we can find them).  So without
  18.    writing lots of code to parse all their headers and stuff, we can't
  19.    know whether a corefile is bigger than it should be.  */
  20.  
  21. #define TRAD_CORE_ALLOW_ANY_EXTRA_SIZE 1
  22.